package com.shop.cereshop.commons.domain.agentProduct;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 商品分类信息表实体类
 */
@Data
@TableName("cere_agent_product_classify")
public class CereAgentProductClassify {

    @TableId(value = "classify_id", type = IdType.AUTO)
    private Long classifyId;

    @ApiModelProperty(value = "分类父id")
    private Long classifyPid;

    @ApiModelProperty(value = "分类层级结构名称")
    private String classifyHierarchy;

    @ApiModelProperty(value = "分类级别")
    private Integer classifyLevel;

    @ApiModelProperty(value = "分类层级结构")
    private String classifyLevelHierarchy;

    @ApiModelProperty(value = "分类名称")
    private String classifyName;

    @ApiModelProperty(value = "分类图片地址")
    private String classifyImage;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "链接(取数据字典)")
    private Long link;

    @ApiModelProperty(value = "使用角色类型：0-通用，1-业务员，2-代理商，3-股东")
    private Integer roleType;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}

